<template>
  <div>
    <!-- svg-icon全局组件 必传参数  icon-class="svg文件名" -->
    <svg-icon icon-class="eye" />
    <svg-icon icon-class="form" />
    <button @click="btnClick">请求api</button>
  </div>
</template>
<script>
import { sysLoginPost } from '@/api/test'
export default {
  methods: {
    async btnClick () {
      const res = await sysLoginPost({
        mobile: '13800000002',
        password: '123456'
      })
    }
  }
}
</script>
<style></style>
